package kas.group.pkg3;


/**
 * Write a description of class Program here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Program
{
    // instance variables - replace the example below with your own
    private String programNavn;
    private String programDato;
    private int programPrís;

    /**
     * Constructor for objects of class Program
     */
    public Program()
    {
        // initialise instance variables
        programNavn = "0";
        programDato = "0";
        programPrís = 0;
    }
    
    
            @Override
    public String toString()
    {
        
        return programNavn;
    }
    
    /**
     * Navnið
     */
    public void programNavn(String navn)
    {
        programNavn = navn;
    }

    /**
     * Dato
     */
    public void programDato(String dato)
    {
        programDato = dato;
    }
    
    /**
     * Prís
     */
    public void programPrís(int prís)
    {
        programPrís = prís;
    }
    
    /**
     * Return dato
     */
    public void returnDato()
    {
        System.out.println("Dato: " + programDato);
    }
    
    /**
     * Return navn
     */
    public void returnNavn()
    {
        System.out.println("Navn: " + programNavn);
    }
    
    /**
     * Return prís
     */
    public void returnPrís()
    {
        System.out.println("Prís: " + programPrís);
    }
}
